package cn.mumzone.pos.presenter.contract;

import java.util.List;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.GoodsTreeEntity;
import cn.mumzone.pos.model.RepoListGoodsEntity;
import cn.mumzone.pos.model.RepositoryEntity;

/**
 * Created by qiuzhenhuan on 2019/7/31.
 */

public interface StockCheckContract {

    interface View extends BaseView {

        void showRepositoryList(List<RepositoryEntity> repositoryList);

        void showScanGoodsDialog(List<RepoListGoodsEntity> list);

        void onGoodSelected(List<RepoListGoodsEntity> list);

        void onCheckBillGenerated();

        void onBackPressed(int type);
    }

    interface Presenter extends BasePresenter<View> {

        void loadRepositoryList();

        void loadRepoGoodsById(String repositoryId, String keyword, String type);

        void generateCheckBill(String warehouseId, String warehouseName, String inventoryType, String goodsJson);
    }
}
